<?php

include_once '../../library/config.php';
include_once '../../model/userlist.php';

//修改用户信息
$entity = new UserList();
$entity->request();
$myid = $entity['myid'];
$entity->remove(array('myid'));
$entity->remove(array('signtoken'));
$entity->update()->where('myid=' . $myid)->submit();
echo $entity->toJson();
